<?php
require_once("includes/include.php");
//$pagename=basename($_SERVER['PHP_SELF'],".php");
//define("PAGE_CODE","$pagename");
//$class_name = PAGE_CODE."page";
//$page = new $class_name();
//$Helper = new Helper();
require_once("includes/pageheader.php");
?>


<?php
//require_once("includes/lifesubnav.php");
$autoload=new autoload();
$baseDir = $autoload->getConfig();
var_dump($baseDir);
$configFile= simplexml_load_file($autoload->getConfig());
			$host =(string) $configFile->system->host;
			$user =(string) $configFile->system->user;
			$pwd =(string) $configFile->system->password;
			$database =(string) $configFile->system->database;
			var_dump($host);
			var_dump($user);
			var_dump($pwd);
			var_dump($database);
//$file = $autoload->findFile('bloglistpage');
//$test = $autoload->getDirectoryFile("D:/wamp/www/connection/lib","justateszt.php");
//var_dump($test);
$test=$autoload->searchFile("lib","justateszt.php");
var_dump($test);
//var_dump($autoload->searchFile("lib","justateszt.php"));
?> 




<?php 
require_once("includes/pagefoot.php");
?>
